package com.neuedu.common;

import java.util.List;
import java.util.Map;

public class ResultBean {
    /**
     * code 返回状态码
     */
    private int code;
    /**
     * message 返回信息
     */
    private String message;
    /**
     * count 查询总行数
     */
    private int count;
    /**
     * list 返回查询行信息
     */
    private List<Map<String, Object>> list;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<Map<String, Object>> getList() {
        return list;
    }

    /**
     * @List<Map<String,Object>> 初始化List
     */
    public void setList(List<Map<String, Object>> list) {
        this.list = list;
    }
}
